# 基础镜像
FROM nginx:stable-alpine
# author
LABEL maintainer="awanp3"

# 创建目录
RUN mkdir -p /awanp3/awanp3-vben5
# 指定路径
WORKDIR /awanp3/awanp3-vben5
# 复制conf文件到路径
COPY ./nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY ./dist /awanp3/awanp3-vben5

# start nginx
CMD ["nginx", "-g", "daemon off;"]
